package com.liy.redisson.entity;

import com.liy.redisson.utils.ExcelExport;
import com.liy.redisson.utils.ExcelImport;
import lombok.Data;

/**
 * @author ly
 * @date 2022/11/16 14:27
 */

@Data
public class User {

    //在 @ExcelExport 注解中，指定 sort 属性，其值越少，排名越靠前。 

    @ExcelExport("姓名")
    private String name;

    @ExcelExport("年龄")
    private Integer age;

    @ExcelExport(value = "性别",kv = "1-男;2-女")
    private Integer set;


}
